<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path=request.getContextPath();
String basePath=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
注意：servlet修改后要重新启动tomcat服务器才能有效<br>
不配置web.xml访问servlet<br>
<u>
<li><a href="s/ann1" target="_blank">访问servlet1</a></li>
<li><a href="s/Ann2" target="_blank">访问servlet2</a></li>
<br>
value="/s/Ann3,/s/an,/s99/,/s/77/*";
<li><a href="s/Ann3" target="_blank">访问servlet3</a></li>
<li><a href="s/an" target="_blank">访问servlet3</a></li>
<li><a href="s99/" target="_blank">访问servlet3</a></li>
<li><a href="s/77/li.do" target="_blank">访问servlet3</a></li>
<li><a href="s/cxc.do" target="_blank">访问servlet4</a></li>
<li><a href="s/ann5" target="_blank">访问servlet5</a></li>
</u>
</body>
</html>